﻿using Entity.Models.Entities;
using Entity.Models.vo.Menu;
using System;
using System.Collections.Generic;
using System.Text;

namespace Entity.Models.vo
{
    /// <summary>
    /// 一级菜单
    /// </summary>
    public class MenuVo: BaseMenu
    {
        /// <summary>
        /// 图标地址
        /// </summary>
        public string image { get; set; }

        public MenuVo(MenuInfo menuInfo)
        {
            Title = menuInfo.Title;
            Href = menuInfo.Href;
            this.image = menuInfo.Icon;
        }

        public MenuVo()
        {
        }
    }
}
